package org.dao;

import org.model.Thread;

import java.util.List;

/**
 * Created by tedzy on 2015/5/14.
 * Thread Dao
 */
public interface ThreadDao {
    int newThread(String title);
    boolean addFloor(int threadId, int floorId);
    Thread readThread(int id);
    List<Thread> getThreads();
}
